Fmidipipe(2) Oct. 1, 1991 Fmidipipe(2) NAME Fmidipipe - redirect MIDI input and output SYNOPSIS LONG Fmidipipe( WORD pid, WORD in, WORD out); DESCRIPTION Fmidipipe changes the MIDI input and output file handles (GEMDOS file handles -4 and -5 respectively) for process pid. in is the GEMDOS handle (for the calling process) which will become the MIDI input for the receiving process, and out is the GEMDOS handle which is to become the MIDI output. If pid is 0, then the call affects the current process; in this case, it is roughly equivalent to the sequence Fforce(-4, in); Fforce(-5, out); RETURNS 0 on success EFILNF if the indicated process is not found EIHNDL if either in or out is not a valid open handle. EACCDN if in is not open for reading or if out is not open for writing. SEE ALSO Fdup(2), Fforce(2) BUGS Any user can change the MIDI input and output of any pro- cess. This will eventually be corrected. Version 0.9 Last change: MiNT Programmer's Manual 1